ExamPlay Light Logo
Prihlásiť sa

Computer Science for IGCSE & O level - Programming (Section 11 - No. 16)

What is the output value of 'Average' in the provided pseudocode after the loop completes if the input marks are 15, 25 and 30?
20
23.33
70
35

Vysvetlenie

The loop will process marks until the total is 300. Based on the example calculation, Total equals 70 and counter equals 3, so average = 70/3 = 23.33.

Pripomienky (0)

Ak chcete komentovať, prihláste sa
Reklama
BrainBehindX Inc Logo
©2026; Beží na BrainBehindX Inc